package cn.com.joyplus.wechat;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;

/**
 * Created by 王灏川(wangrs@qq.com) on 2017/8/11 0011.
 */
@SpringBootApplication
@EnableCaching
public class WechatApplication  extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(WechatApplication.class);
	}


	public static void main(String[] args) {
		SpringApplication.run(WechatApplication.class, args);
	}



}
